#include<iostream>
using namespace std;
class CPoint {
protected:
	int x, y;
public:
	CPoint(int x1, int y1) :x(x1), y(y1) {
	}
};
class CCircle:public CPoint {
public:
	CCircle(int x1, int y1, int r1): CPoint(x1,y1),r(r1) {
	}
	void measure_Area() {
		double area = r * r * 3.14;
		cout << "Circle:(" << x << ',' << y << "),";
		cout << r << endl;
		cout << "Area:" << area << endl;
	}
protected:
	int r;
};
class CCylinder:public CCircle {
public:
	CCylinder(int x1, int y1, int r1, int h1) :CCircle(x1, y1, r1), h(h1) {
	}
	void measure_Volume() {
		double area = r * r * 3.14;
		double volume = h * area;
		cout << "Cylinder:(" << x << ',' << y << ")," << r << ',' << h << endl;
		cout << "Volume:" << volume << endl;
	}
protected:
	int h;
};
int main()
{
	int x, y, r, h;
	cin >> x >> y >> r;
	CCircle cc(x, y, r);
	cc.measure_Area();
	cin >> x >> y >> r >> h;
	CCylinder ccy(x, y, r, h);
	ccy.measure_Volume();
	return 0;
}